package com.jslx.pojo.lcc;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class FdPayPackage implements Serializable {
    private Integer id;

    /**
     * 套餐名称
     */
    private String name;

    /**
     * 购买月数
     */
    private Integer month;

    /**
     * 购买天数
     */
    private Integer day;

    /**
     * 原价
     */
    private BigDecimal totalMoney;

    /**
     * 实际价格
     */
    private BigDecimal payMoney;

    /**
     * 折扣
     */
    private BigDecimal discount;

    /**
     * 套餐购买服务类型ids
     */
    private String payServiceTypeIds;

    /**
     * 套餐所属企业（0：乐冲刺套餐）
     */
    private Integer companyId;

    /**
     * 套餐包含的科目ids
     */
    private String subjectIds;

    /**
     * 是否删除
     */
    private Boolean isDel;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public String getPayServiceTypeIds() {
        return payServiceTypeIds;
    }

    public void setPayServiceTypeIds(String payServiceTypeIds) {
        this.payServiceTypeIds = payServiceTypeIds == null ? null : payServiceTypeIds.trim();
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getSubjectIds() {
        return subjectIds;
    }

    public void setSubjectIds(String subjectIds) {
        this.subjectIds = subjectIds == null ? null : subjectIds.trim();
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", month=").append(month);
        sb.append(", day=").append(day);
        sb.append(", totalMoney=").append(totalMoney);
        sb.append(", payMoney=").append(payMoney);
        sb.append(", discount=").append(discount);
        sb.append(", payServiceTypeIds=").append(payServiceTypeIds);
        sb.append(", companyId=").append(companyId);
        sb.append(", subjectIds=").append(subjectIds);
        sb.append(", isDel=").append(isDel);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}